﻿Imports tiendaRegalos
Public Class BuscarPedido
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

    End Sub

    Protected Sub Button1_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Button1.Click
        Dim negocio = New PedidoNegocio

        Dim lista = negocio.listar()

        dgPedido.DataSource = lista
        dgPedido.DataBind()
    End Sub
End Class